<extend name="Base/list" />

<block name="title">物流管理</block>

<block name="nav">
<li class="current"><a href="{:U(CONTROLLER_NAME.'/index')}">列表</a></li>
<li><a href="{:U(CONTROLLER_NAME.'/add')}">添加</a></li>
<li><a href="{:U(CONTROLLER_NAME.'/multi')}">批量添加</a></li>
</block>


<block name="list">
<if condition="$All">
{$page}
<div id="list">
  <table>
    <tr><th class="id">ID</th><th class="name">公司名称</th><th class="code">公司代码</th><th class="control">操作</th></tr>
    <foreach name="All" key="key" item="value">
    <tr><td>{$value['id']}</td><td>{$value['name']|keyword=$keyword}</td><td>{$value['code']|keyword=$keyword}</td><td><a href="{:U(CONTROLLER_NAME.'/update',array('id'=>$value['id']))}">修改</a>/<a href="{:U(CONTROLLER_NAME.'/delete',array('id'=>$value['id']))}">删除</a></td></tr>
    </foreach>
  </table>
</div>
{$page}
<else/>
<p id="nothing">没有找到您搜索的物流</p>
</if>
</block>